function upload_username_password(){
var user = document.getElementById('username').nodeValue;
var pwd = document.getElementById('password').nodeValue;
console.log(user,pwd)

$.ajax({

    url:"",
    type:'post',
    data:{
        "user":user,
        "pwd":pwd
    },

    success:function(data){
        console.log("成功：")
        console.log("状态码：",data["code"])
        console.log("信息：",data.msg)

    },
    error:function(error){
        console.log("失败：",error)
    }
    
})
}